/*
 * YuebaoPurchasedOrder.cpp
 *
 *  Created on: 2011-3-11
 *      Author: 
 */

#include "ResponsePurchasedOrderData.h"
#include "ProjectsDefines.h"
#include "YuebaoShoppingGoods.h"

CResponsePurchasedOrderData::CResponsePurchasedOrderData()
{

}

CResponsePurchasedOrderData::~CResponsePurchasedOrderData()
{
    SAFE_DELETE( _order_id );
    SAFE_DELETE( _trans_time );

    SAFE_DESTROY( _goods );
}

CResponsePurchasedOrderData* CResponsePurchasedOrderData::NewLC()
{
    CResponsePurchasedOrderData* self = new ( ELeave ) CResponsePurchasedOrderData( );
    CleanupStack::PushL( self );
    self->ConstructL( );
    return self;
}

CResponsePurchasedOrderData* CResponsePurchasedOrderData::NewL()
{
    CResponsePurchasedOrderData* self = CResponsePurchasedOrderData::NewLC( );
    CleanupStack::Pop( ); // self;
    return self;
}

void CResponsePurchasedOrderData::ConstructL()
{

}
